package domain

type Gen struct {
	Size  int `json:"size" gorm:"column:size"`
	Query struct {
		Bool struct {
			MustNot []interface{} `json:"must_not" gorm:"column:must_not"`
			Should  []interface{} `json:"should" gorm:"column:should"`
			Must    []struct {
				Term interface{} `json:"term" gorm:"column:term"`
			} `json:"must" gorm:"column:must"`
		} `json:"bool" gorm:"column:bool"`
	} `json:"query" gorm:"column:query"`
	From int           `json:"from" gorm:"column:from"`
	Sort []interface{} `json:"sort" gorm:"column:sort"`
	Aggs struct {
	} `json:"aggs" gorm:"column:aggs"`
}
